/*
 * @Author: luojianfeng
 * @Date: 2024-01-31 16:01:32
 * @LastEditTime: 2024-02-04 15:52:02
 * @LastEditors: luojianfeng
 * @Description:
 */
import service from '@/request/index'

// json形式
const options = {
  header: { contentType: 'application/json' }
}

/**
 * @method 测试接口
 */
export function testGet(data: any) {
  return service.get('/orglist', data)
}

export function testPost(data: any) {
  return service.post('/testPost', data, options)
}

export function testPut(data: any) {
  return service.post('/testPut', data)
}

export function testDelete(data: any) {
  return service.delete('/testDelete', data)
}
